package com.situ.studentmanagement.dao;

import com.situ.studentmanagement.model.ClassRoom;

import java.util.List;
import java.util.Map;

/**
 * Created by niugao on 6/7/2016.
 * 操作class表
 */
public interface ClassMapper {
    //获取一个Class的信息
    ClassRoom selectClass(int id);
    //添加一个教室
    void addClass(ClassRoom cls);
    //获取所有教室的信息
    List<ClassRoom> getAllClassRoom();

    void deleteClassById(int id);

    ClassRoom getClassById(int modifyID);


    void setClassById(int modifyID, String name, String level, String school_name);
}
